package com.itheima.pojo.client.orderPaginationVo;

/**
 * @author ChenJunJie
 * @date 2022/6/21 16:38
 * 新增商品与订单关系
 */
public class OrderWaresAdd {
    /**
     * id
     */
    private String id;
    /**
     * 订单id
     */
    private String orderId;
    /**
     * 商品名
     */
    private String waresName;
    /**
     * 商品数量
     */
    private Integer number;

    public OrderWaresAdd() {
    }

    public OrderWaresAdd(String id, String orderId, String waresName, Integer number) {
        this.id = id;
        this.orderId = orderId;
        this.waresName = waresName;
        this.number = number;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getWaresName() {
        return waresName;
    }

    public void setWaresName(String waresName) {
        this.waresName = waresName;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "OrderWaresAdd{" +
                "id='" + id + '\'' +
                ", orderId='" + orderId + '\'' +
                ", waresName='" + waresName + '\'' +
                ", number=" + number +
                '}';
    }
}
